<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    for(let i=1;i<=100;i++){
        if(i%10==1){
           document.write("</br>")
        }
        document.write(i+" ")
    }
</script>
</body>
</html>